package nc.itf.pub;


import nc.bs.framework.server._ServerForEJBNCLocator;
import nc.bs.pub.BusinessObject;

/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class  IPubEjbBean extends BusinessObject{
	private Object thisService;
	
	public void ejbActivate(){}
	public void ejbPassivate(){}
	public void ejbRemove(){}
	
	public IPubEjbBean() {
		thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.pub.IPub");
	}
	public void ejbCreate(){
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.pub.IPub");
	}
	
	public  Object getService() {
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.pub.IPub");			
		return thisService;
	}
	public void update(java.util.ArrayList  arg0) throws Exception{
		
		((nc.itf.pub.IPub )getService()).update(arg0);
		
	}
	public void update(java.lang.String  arg0) throws Exception{
		
		((nc.itf.pub.IPub )getService()).update(arg0);
		
	}
	public java.util.HashMap getRow(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.pub.IPub )getService()).getRow(arg0);		
	}
	public java.util.ArrayList getAll(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.pub.IPub )getService()).getAll(arg0);		
	}
	public java.lang.Object pub(java.lang.Object  arg0 ,int  arg1 ) throws Exception{
		
		return ((nc.itf.pub.IPub )getService()).pub(arg0 ,arg1 );		
	}
	public java.lang.Object getOne(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.pub.IPub )getService()).getOne(arg0);		
	}
	public java.lang.Object getOne(int  arg0) throws Exception{
		
		return ((nc.itf.pub.IPub )getService()).getOne(arg0);		
	}
	public java.lang.Object getpubInfo(int  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		return ((nc.itf.pub.IPub )getService()).getpubInfo(arg0 ,arg1 );		
	}
	public java.util.ArrayList getOneRowData(java.lang.String  arg0 ,int  arg1 ) throws Exception{
		
		return ((nc.itf.pub.IPub )getService()).getOneRowData(arg0 ,arg1 );		
	}
	public java.util.ArrayList getOneRowData(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.pub.IPub )getService()).getOneRowData(arg0);		
	}
	public java.util.ArrayList getOneList(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.pub.IPub )getService()).getOneList(arg0);		
	}
	public java.util.ArrayList getAllRowData(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.pub.IPub )getService()).getAllRowData(arg0);		
	}
}
	